﻿using System;
using Autodesk.Revit.DB;

namespace YJKAxisAndEdit
{
	public class ShowDimensionType
	{
		public ShowDimensionType(DimensionType dt)
		{
			this.Type = dt;
		}

		public override string ToString()
		{
			return this.Type.Name;
		}

		public override bool Equals(object obj)
		{
			return obj is ShowDimensionType && (obj as ShowDimensionType).ToString().Equals(this.ToString());
		}

		public override int GetHashCode()
		{
			return base.GetHashCode();
		}

		public DimensionType Type;
	}
}
